package base;

import static java.lang.System.out;

/**
 * @author liuqia
 *
 */
public class AppMain {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		for (int i=0; i<args.length; i++) {
			final String arg = args[i];
			Thread thread = new Thread(arg) {
				public void run() {
					out.println(arg);
				}
			};
			thread.start();
			try {
				thread.join();
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	}

}
